* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.app {
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* 顶部导航栏 */
.header {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border-bottom: none !important;
  border: none !important;
}

.scrolled {
  background: rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo-section {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.logo {
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity 0.3s;
}

.nav-links a:hover {
  opacity: 0.8;
}

/* 主要内容区域 */
.main-content {
  width: 100%;
}

/* 首页区域 */
.hero-section {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%), 
              linear-gradient(-45deg, rgba(255,255,255,0.1) 25%, transparent 25%), 
              linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.1) 75%), 
              linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.1) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  opacity: 0.3;
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 3rem;
  color: #2d3748;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.start-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #4facfe;
  color: #4facfe;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 4rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(79, 172, 254, 0.2);
}

.start-btn:hover {
  background: #4facfe;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 172, 254, 0.3);
}

.hero-links {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero-link {
  color: #2d3748;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.8rem 1.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hero-link:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* 第一个区域 - TAL-SCQ5K介绍 */
.intro-section {
  background: url('/R.jpg') center/cover no-repeat;
  color: white;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.intro-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.intro-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 3;
}

.intro-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.intro-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.tags {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 数据表格 */
.data-table {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.data-table table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 0.8rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.data-table th {
  background: rgba(255, 255, 255, 0.1);
  font-weight: 600;
  font-size: 0.9rem;
}

.data-table td {
  font-size: 0.85rem;
}

/* 第二个区域 - MathGPT介绍 */
.mathgpt-section {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  padding: 4rem 0;
  color: #333;
}

.mathgpt-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.mathgpt-content h2 {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #2d3748;
}

.mathgpt-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #4a5568;
}

.join-btn {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.join-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* 底部区域 */
.bottom-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
  padding: 4rem 0 2rem;
}

.bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.quote-section {
  flex: 1;
}

.quote {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  font-style: italic;
}

.author {
  font-size: 1rem;
  opacity: 0.8;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-left: 2rem;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 页脚 */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logos {
  display: flex;
  gap: 2rem;
  font-weight: 600;
}

.footer-text {
  text-align: right;
  font-size: 0.8rem;
  opacity: 0.7;
  line-height: 1.5;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .logo-section {
    gap: 1rem;
  }
  
  .intro-content h1 {
    font-size: 2rem;
  }
  
  .mathgpt-content h2 {
    font-size: 1.5rem;
  }
  
  .bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .avatar {
    margin-left: 0;
  }
  
  .footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-text {
    text-align: center;
  }
  
  .data-table {
    overflow-x: auto;
  }
  
  .tags {
    justify-content: center;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-links {
    gap: 1.5rem;
  }
  
  .hero-link {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }
}
